> custom_routing.txt

# ./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
# --network=garnet \
# --num-cpus=16 \
# --num-dirs=16 \
# --topology=Mesh_XY \
# --mesh-rows=4 \
# --sim-cycles=2000000 \
# --inj-vnet=2 \
# --injectionrate=0.8 \
# --synthetic=uniform_random

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.02 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.02 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.04 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.04 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.06 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.06 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.08 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.08 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.1 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.1 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.12 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.12 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.14 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.14 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.16 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.16 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.18 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.18 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.2 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.2 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.22 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.22 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.24 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.24 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.26 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.26 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.28 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.28 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.3 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.3 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.32 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.32 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.34 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.34 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.36 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.36 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.38 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.38 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.4 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.4 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.42 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.42 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.44 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.44 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.46 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.46 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.48 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.48 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.50 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.50 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.52 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.52 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.54 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.54 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.56 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.56 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.58 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.58 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.6 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.6 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.62 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.62 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.64 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.64 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.66 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.66 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.68 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.68 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.7000000000000001 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.7000000000000001 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.72 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.72 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.74 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.74 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.76 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.76 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.78 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.78 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.8 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.8 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.8200000000000001 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.8200000000000001 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.84 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.84 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.86 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.86 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.88 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.88 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.9 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.9 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.92 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.92 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.9400000000000001 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.9400000000000001 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.96 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.96 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt

./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \
--network=garnet \
--num-cpus=16 \
--num-dirs=16 \
--mesh-rows=4 \
--topology=Mesh_XY \
--sim-cycles=200000 \
--inj-vnet=0 \
--routing-algorithm=1 \
--injectionrate=0.98 \
--synthetic=uniform_random
echo >> custom_routing.txt
echo "now  0.98 : " >> custom_routing.txt
grep "average_packet_latency" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt